Linux Command Line: FAST and EASY! (Linux Commands, Bash Scripting Tricks, Linux Shell Programming Tips and Bash One-Liners) (Programming is Easy Book 1) by Matthew Gimson

Linux Command Line: FAST and EASY! (Linux Commands, Bash Scripting Tricks, Linux Shell Programming Tips and Bash One-Liners) (Programming is Easy Book 1) by Matthew Gimson

Author:Matthew Gimson [Gimson, Matthew]
Language: eng
Format: epub
Published: 2015-11-08T23:00:00+00:00


If you can’t memorize the order used in the first command, then it is advisable you use the simple and alternative option above.

last command

This command is useful when you want to know the users who have recently logged into your system. This is very useful in the industry for security purposes. A user won’t deny having logged into the system at a certain time. Open the command line and type in the command last. Observe the output:

The command shows the name of the user and other details including the terminal they were logged on and the time in which they logged in. In case any of the users is still in, you will be notified of it. The difference between when the user was lastly logged in and logged out will also be shown. Notice that only the last 100 logins will be displayed.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.